package network;

public class TooManyPeersException extends Exception {
	private static final String TOO_MANY_PEERS = "Too Many Peers";
	private String m_message;

	public void setMessage(String message) {
		this.m_message = message;
	}

	public TooManyPeersException() {
		super();
		setMessage(TOO_MANY_PEERS);
	}

	public TooManyPeersException(String message) {
		super(message);
		setMessage(message);
	}
}
